import axios from "axios"
import { Message } from "vant";
import router from '@/router';

// token 就是我们的用户信息

const state = {

    author: {},
};

const mutations = {
    SET_AUTHOR(state, payload) {
        state.author = payload;
}
};

export default {
    //命名空间
    namespaced:true,
    state,
    mutations,
}